<script setup lang='ts'>
import {Server} from '../stores/ajax';
import type {Sources} from 'quill';
import Quill from 'quill';
import {Delta, QuillEditor} from '@vueup/vue-quill'


const props = defineProps(['content'])

let ref = $ref<any>()

</script>
<template>
    <QuillEditor ref="ref" theme="bubble" v-model:content="content"
         @textChange="$emit('textChange',$event)" :read-only="true" @ready="$emit('ready',ref)" />
</template>
